package com.ming_za.odupdaterserver.core.vo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Data
@Schema(description = "删除资源所需参数，所有资源都必须在同一个版本内")
public class DelResVo {

    @Schema(description = "多个资源id")
    @NotEmpty(message = "资源id不能为空")
    private Long[] resId;

    @Schema(description = "资源所在的版本，提高检索效率")
    private Integer version;
}
